package com.yugao.fintech.draper.core.sensitive.handler.regex;

import com.yugao.fintech.draper.core.annotation.regex.EmailSensitive;

public class EmailSensitiveHandler extends AbstractRegexSensitiveHandler<EmailSensitive> {

    @Override
    String getRegex(EmailSensitive annotation) {
        return annotation.regex();
    }

    @Override
    String getReplacer(EmailSensitive annotation) {
        return annotation.replacer();
    }

}